<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%

%>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <form action="<%=request.getContextPath()%>/addCustomer">

            <table>
                <c:if test="${not empty customer_err}">
                    <tr><td style="color:red"><c:out value="${customer_err}"/></td></tr>
                </c:if>
                <tr>
                    <td style="font-weight:bold">Customer Id:</td>
                    <td><input name="id" type="text" value =""></td>
                </tr>

                <tr>
                    <td style="font-weight:bold">Customer Name:</td>
                    <td><input name="name" type="text" value =""></td>
                </tr>

                <tr>
                    <td style="font-weight:bold">Description:</td>
                    <td><input name="des" type="text" value =""></td>
                </tr>
                <tr>
                    <td><input type="submit" value ="Add"></td>
                </tr>

            </table>
        </form>
    </body>
</html>
